package com.echo.code.thread.mode.nio2;

import com.echo.code.thread.mode.listener.Subscribe;

/**
 * FileChangeListener Created by baiyap on 2018/9/24.
 */
public class FileChangeListener {

  @Subscribe
  public void onChange(FileChangeEvent event) {
    System.out.printf("%s-%s\n", event.getPath(), event.getKind());
  }
}
